$(function () {
    layui.use('form',function () {
        var form = layui.form;
        $.post('/pages/back/line/list',{},function (obj) {
            for(var i=0;i<obj.length;i++){
                $("#lid").append("<option value="+ obj[i].lid +">" + obj[i].start + "<===>" + obj[i].end + "</option>")
            }
            form.render();
        },'json')
    })
})